<div class="span6">
    <form enctype="multipart/form-data" class="bs-docs-example" id="picture_form" method="post" action="<?= site_url('galleries/upload_picture') ?>" name="picture_form">
        <fieldset>

            <legend><? if ($post_action == "EDIT") echo "Edit gallery"; else echo "New gallery" ?></legend>
            <label>Page Name</label> <input type="text" name="title"
                                             placeholder="Type something…" class="span5"> <span
                class="help-block">Internal Flat-cms page name.</span>
            <label>Page Name</label> <input type="file" name="picture" class="span5">
            <label>Disabled input</label> <input class="input-xlarge"
                                                 id="disabledInput" type="text"
                                                 placeholder="Disabled input here…" disabled> <label
                class="checkbox"> <input type="checkbox">
                Check me out
            </label>
            <div class="form-actions">
                <button type="submit" id="submit_form" class="btn btn-primary">Save
                    changes</button>
                <button type="button" class="btn">Cancel</button>
            </div>
        </fieldset>
    </form>
</div>